/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.aurelius.testngexecutionlogger;

import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.Logger;

/**
 *
 */
public class CommonTestLogger {
    public static final String COMMON_TEST_LOGGER_NAME =
            "aurelius.common.test.logger.with.unique.name";

    private static final Logger testLoggerInstance = initLogger();

    public static Logger getTestLogger() {
        return testLoggerInstance;
    }

    private static Logger initLogger() {
        BasicConfigurator.configure();
        return Logger.getLogger(COMMON_TEST_LOGGER_NAME);
    }

}
